
import re

str01 = '''http://zhidao.baidu.com/question/1180222532699126379.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk&from=search
fm:as,pos:ti,si:1,st:0,title:小程序怎么注册
ti video-jump
http://zhidao.baidu.com/question/431211730727924252.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk&from=search
fm:as,pos:ti,si:3,st:0,title:小程序注册？
ti video-jump
http://zhidao.baidu.com/question/1053694728735591059.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk&from=search
fm:as,pos:ti,si:4,st:0,title:什么是小程序？？？？？
ti video-jump
http://zhidao.baidu.com/question/204095909431076885.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk
fm:as,pos:ti,si:5,st:0,title:小程序是什么？
_blank
ti
http://zhidao.baidu.com/question/1644400778656532060.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk
fm:as,pos:ti,si:6,st:0,title:什么是小程序，小程序的作用
_blank
ti
http://zhidao.baidu.com/question/1963588696038246900.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk
fm:as,pos:ti,si:7,st:0,title:小程序是什么
_blank
ti
http://zhidao.baidu.com/question/758567786125788764.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk
fm:as,pos:ti,si:8,st:0,title:抖音小程序怎么开通
_blank
ti
http://zhidao.baidu.com/question/1772357737739541140.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk
fm:as,pos:ti,si:9,st:0,title:什么是小程序
_blank
ti
http://zhidao.baidu.com/question/1501323844411013619.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk
fm:as,pos:ti,si:10,st:0,title:小程序什么意思
_blank
ti
http://zhidao.baidu.com/question/718835620006345205.html?fr=iks&word=%D0%A1%B3%CC%D0%F2&ie=gbk
fm:as,pos:ti,si:11,st:0,title:小程序怎么用？
_blank
ti'''

pat = re.compile('http://.*html?')
print(re.findall(pat,str01))